import {
  request as fetch
} from '../utils/util'
const collect = {
  collectAdd(params) {
    return fetch('/small/info/collect/add', params) // 添加收藏
  },
  collectFind(params) {
    return fetch('/small/info/collect/find', params) // 收藏夹查询
  },
  collectDelete(params) {
    return fetch('/small/info/collect/delete', params) // 收藏夹删除
  },
  detailCollect(params) {
    return fetch('/small/info/collect/collect', params)
  }
}
export default collect